class AddToken < ActiveRecord::Migration
  def up
    change_table :users do |t|
      t.string :token
    end
    add_index :users, :token, :unique => true
  end

  def down
    change_table :users do |t|
      t.remove :token
    end
  end
end
